var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var productSchema = new Schema({
  "productId": String,
  "productName": String,
  "salePrice": Number,
  "productImage": String,
  "productNum": Number,
  "checked":String,
})

module.exports = mongoose.model('Good', productSchema)
//第三个参数 goods  表示和哪一个表进行关联
// module.exports = mongoose.model('Good', productSchema,goods)
